# usage: bash build.sh

mkdir -p build && cd build
cmake -G Ninja .. -DMLIR_DIR=$PWD/../3rdparty/llvm/build/lib/cmake/mlir -DLLVM_DIR=$PWD/../3rdparty/llvm/build/lib/cmake/llvm -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_BUILD_TYPE=RELEASE
ninja
cd ..